Automated Presentation of directory src/tutorials/custEducation/opengl2/examples/fog/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


to compile programs in the above-indicated sub- directories/trees,
one must load libglut. inst-able images of GLUT v3.1 are located at
toolbox/src/exampleCode/opengl/GLUT/inst/


README file from "fog" directory

      ~opengl2/examples/fog README

            Copyright 1991-93, 1995, Silicon Graphics,  Inc.
            Technical Education Development
            All Rights Reserved.



   fog.c:  demonstrates how to use fog

 	This program demonstrates using different types of fog. 
  	Pressing the <f> key chooses between 3 types of fog:
  	exponential, exponential squared, and linear.
 
	If the fog mode is GL_EXP or GL_EXP2, pressing the up and down 
	arrow keys adjusts the density value.

	If the fog mode is GL_LINEAR, pressing the up and down 
	arrow keys adjusts the end value for linear fog. The start value 
	for the linear fog is fixed.

	Escape key	- exit the program
	<f> key		- change the fog blend function
	UP Arrow Key	- increase the fog density or end value
	DOWN Arrow Key	- decrease the fog density or end value


Files of interest from "src/tutorials/custEducation/opengl2/examples/fog" directory

Source

Documentation

Reference


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire fog directory.

Copyright © 1995, Silicon Graphics, Inc.